package com.whminwei.edu.api.base.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangzf
 * @since 2024/8/6
 **/
@Data
@NoArgsConstructor
public class GbmFspn {

    @JsonValue
    private List<GbmBo> gbmBoList;

    @JsonCreator
    public GbmFspn(List<GbmBo> gbmBoList) {
        this.gbmBoList = gbmBoList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class GbmBo {
        private String gbmCode;

        private String gbmName;

        private String supGbmCode;
    }
}
